home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-11-11 | 1.6 KB | 78 lines |
- #! smake
- #
- # Copyright 1996, Silicon Graphics, Inc.
- # All Rights Reserved.
- #
- # This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
- # the contents of this file may not be disclosed to third parties, copied or
- # duplicated in any form, in whole or in part, without the prior written
- # permission of Silicon Graphics, Inc.
- #
- # RESTRICTED RIGHTS LEGEND:
- # Use, duplication or disclosure by the Government is subject to restrictions
- # as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
- # and Computer Software clause at DFARS 252.227-7013, and/or in similar or
- # successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
- # rights reserved under the Copyright Laws of the United States.
- #
-
- #
- # Makefile for compiling OpenGL Programming library
- #
- include /usr/include/make/commondefs
-
- TARGETS = liboglprog.a
-
- TOPDIR ?= ../
- HEADERDIR = ${TOPDIR}/include
-
- CFILES = \
- axes.c \
- error.c \
- font.c \
- misc.c \
- rgbReadImageFile.c \
- rgbWriteImageFile.c \
- shapes.c \
- vect3d.c \
- xform.c \
- ${NULL}
-
- LCINCS = -I${HEADERDIR}
- LCOPTS = -c
-
- ARFLAGS = r
-
- #
- # To build a debug version of liboglprog.a, set OGLPROG_DEBUG to DEBUG in your
- # environment
- #
- OGLPROG_DEBUG ?= NO_DEBUG
-
- #if ${OGLPROG_DEBUG} == "DEBUG"
- OPTIMIZER =
- LCOPTS += -g -D${OGLPROG_DEBUG}
- #endif
-
- .SUFFIXES:
- .SUFFIXES: .c .o
-
- .c.o :
- ${CC} ${CFLAGS} $<
-
- #
- # Start Dependencies
- #
-
- default install: ${TARGETS}
-
- include ${COMMONRULES}
-
- new: clobber
- @ make -f Makefile
-
- ${TARGETS}: ${OBJECTS}
- @ echo 'NOTE : Debug Level is ' ${OGLPROG_DEBUG}
- ${AR} ${ARFLAGS} $@ ${OBJECTS}
-
-